package com.common;


public enum ErrorCode {

  SERVER_ERROR("10000", "服务出现错误请联系管理员！"),
  SERVER_OK("0", "服务正常");

  private String msg;
  private String code;

  private ErrorCode(String code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public String getMsg() {
    return this.msg;
  }

  public String getCode() {
    return this.code;
  }
}
